package com.itheima.d3_abstract;

abstract public class Anmail {
    private String name;
    public abstract void cry();

    public Anmail(String name) {
        this.name = name;
    }
    public Anmail(){}

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
